
namespace SharpPlanetsModel {

	public class Mercury : Planet {

		public Mercury( ) {
			radius= 3400;
            density = 2;
            Calculate();

			// Create image.
            setupImage();

		}

		public Mercury(int radius )   {
            density = 2;
            this.radius = radius;
            Calculate();

            // Create image.
            setupImage();

		}

        override protected void setupImage()
        {
            string appPath = System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase;
            appPath = System.IO.Path.GetDirectoryName(appPath) + "\\Resources";
            planetImage = new System.Drawing.Bitmap(appPath + "\\pocketMercury.jpg");
            //planetImage = new System.Drawing.Bitmap(appPath + "\\pocketMercuryTexture.jpg");
        }
	}
}
